import { defineStore } from "pinia"

const startDate = new Date();
const endDate = new Date();
endDate.setDate(startDate.getDate() + 1)

const useMainStore = defineStore('main', {
    state: () => ({
        startDate: startDate,
        endDate: endDate,

        // 显示是否加载
        isLoading: false
    })
})

export default useMainStore